import requests
class iHRMLoginApi(object):
    # 发送登录请求
    @classmethod
    def login(cls,login_data):
        resp = requests.post(url='https://ihrm-java.itheima.net/api/sys/login',
                             json=login_data,verify=False)
        return resp

    # if __name__ == '__main__':
    # login_data = {'mobile':'13800000002',"password":"929itheima.CN032@.20250527"}
    # print(iHRMLoginApi.login(login_data))
